READ ME for reproducing application and simulation in "Identification of a triangular random coefficient model using a correction function" by Alyssa Carlson


Included files and short descriptions: 
	CARD.dta is the data from Card (1995) taken from accompanying datasets to Wooldridge (2010)
	App_Final.do is the Stata do-file that replicates the Application results (Tables 1 and 2)
	ivclp_bininstr.ado is a stata command to produce the proposed estimator in the case of binary instruments (as in the application)
	Sim_Final.do is the Stata do-file that replicated the Simulation results (Tables E.1 and E.2)
	

Steps for replicating application (section 3). 
	(1) Change [FILE_LOCATION] in line 6 to appropriate file location that contains both CARD.dta and ivclp_bininstr.ado
	(2) Run the App_Final.do do-file
	(3) Code produces 2 .xls files: Table1.xls and Table2.xls, these files can be used to reproduce Tables 1 and 2 from the paper. 

Steps for replicating simulation (appendix section E)
	(1) Change [FILE_LOCATION] in line 4 to appropriate file location
	(2) Run the Sim_Final.do do-file
	(3) Code produces 1 .xlsx files: Sheets Table E.1 and Table E.2 can be used to reproduce Tables E.1 and E.2 from the paper. 

All code is run on Stata 17.0. 
Any questions and concerns with replication can be sent to Alyssa Carlson (carlsonah@missouri.edu)

References
 Card, David. 1995. “Using geographic variation in college proximity to estimate the return to
schooling.” In Aspects of labour market behaviour: essays in honour of John Vanderkamp,
edited by Louis N Christofides, E Kenneth Grant, and Robert Swidinsky.
 Wooldridge, Jeffrey M. 2010. Econometric analysis of cross section and panel data. MIT press.
 
